<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Form</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link href="/sap/demo.css" rel="stylesheet" type="text/css" />
    <script src="/sap/scripts/boot.js" type="text/javascript"></script>
    <link href="/Public/label/css/jq22.css" type="text/css" rel="stylesheet" />
  <style type="text/css">
    html,body
    {
        padding:0;
        margin:0;
        border:0;     
        width:100%;
        height:100%;
        overflow:hidden;   
    }
    </style>

</head>
<body>

<div class="demo" class="col-md-12 ">
	
	<div class="plus-tag tagbtn clearfix" id="myTags" style="height:50px;overflow:auto;border: 1px solid none"></div>

	<div class="plus-tag-add" >
		<form id="" action="" class="login">
			<ul class="Form FancyForm">
				<li>
					<input  class='stext'  type="" maxlength="20"  placeholder="这里输入新增标签名称"/>
				</li>
				<li>
					<button type="button" class="Button RedButton Button18" style="font-size:14px;">添加</button>
					
				</li>
			</ul>
		</form>
	</div><!--plus-tag-add end-->
	已有标签
	<div id="mycard-plus" style="border: 1px solid none; height:180px; overflow:auto">
		<div class="default-tag tagbtn">
			<div class="clearfix">
			  <?php foreach($list as $vo){?>
				<a value="<?php echo $vo['id']?>" title="<?php echo $vo['name']?>" href="javascript:void(0);"><span><?php echo $vo['name']?></span><em></em></a>
				<?php }?>
				       
			</div>
			
		
	</div><!--mycard-plus end-->
		
</div>
</div>

 
  
    
    <div class="mini-toolbar" style="text-align:center;padding-top:8px;padding-bottom:8px;" borderStyle="border:0;">
    	
        <a class="mini-button" style="width:80px;" onclick="onOk">选择</a>
        <span style="display:inline-block;width:25px;"></span>
        <a class="mini-button" style="width:60px;" onclick="onCancel()">取消</a>
    </div>

</body>
</html>
<script type="text/javascript" src="/Public/label/js/jq22.js"/>
<script type="text/javascript">




    function GetData() {    
    	
        return 'dasdasda';
    }


   

    function CloseWindow(action) {
        if (window.CloseOwnerWindow) return window.CloseOwnerWindow(action);
        else window.close();
    }

    function onOk() {
        CloseWindow("ok");
    }
    function onCancel() {
        CloseWindow("cancel");
    }

    
</script>
</body>
</html>